package service;

import model.VO.EmployeePageVO;
import model.entity.Employee;

import java.util.List;

public interface EmployeeService  {
    //根据id查询员工
    Employee Find(int id);
    //禁用启用，员工账号
    void UpdateStatus(int id);
    //根据账号查询员工
    Employee Find(String username);
    //新增员工
    void Create(String idNumber, String name, String phone, String sex, String username);
    //修改员工信息
    void Update(int id, String idNumber, String name, String phone, String gender, String username);
    //修改密码
    void EditPassword(int empId, String newPassword, String oldPassword);
    //分页查询员工
    EmployeePageVO Page(int page, int pageSize);
}
